package com.wits.qso.pageable;

import org.springframework.data.domain.Pageable;
import org.springframework.data.domain.Sort;

/**
 * NativeSql页面设置对象
 */
public class NativeSqlPageable implements Pageable {

	private int pageNumber = 0;

	private int pageSize = 0;

	private int offset = 0;

	private Sort sort;

	public int getPageNumber() {
		return pageNumber;
	}

	public int getPageSize() {
		return pageSize;
	}

	public int getOffset() {
		return offset;
	}

	public Sort getSort() {
		return sort;
	}

	public void setPageNumber(int pageNumber) {
		this.pageNumber = pageNumber;
	}

	public void setPageSize(int pageSize) {
		this.pageSize = pageSize;
	}

	public void setOffset(int offset) {
		this.offset = offset;
	}

	public void setSort(Sort sort) {
		this.sort = sort;
	}

}
